﻿using System;
using System.ComponentModel;

namespace OpenSoftStore.Orm.Model
{
    public class T_Bill : T_BaseExt
    {
        /// <summary>
        /// 单号
        /// </summary>
        public string BillNo { get; set; }
        /// <summary>
        /// 会员Id
        /// </summary>
        public string MemberId { get; set; }
        public string ProductInOutId { get; set; }
        public string CarNum { get; set; }
        /// <summary>
        /// 单据分类Id
        /// </summary>
        public string TreeId { get; set; }
        public string FavourType { get; set; }
        /// <summary>
        /// 应收款
        /// </summary>
        public decimal NeedPay { get; set; }
        /// <summary>
        /// 实际收款
        /// </summary>
        public decimal RealPay { get; set; }
        /// <summary>
        /// 欠款金额
        /// </summary>
        public decimal OwedMoney { get; set; }
        /// <summary>
        /// 积分
        /// </summary>
        public decimal Mark { get; set; }
        public decimal MarkUsed { get; set; }
        //优惠金额
        public decimal FavorMoney { get; set; }
        public string CarDescr { get; set; }
        public DateTime CarInTime { get; set; }
        public DateTime CarOutTime { get; set; }
        /// <summary>
        /// 结算时间
        /// </summary>
        public DateTime PayTime { get; set; }
        /// <summary>
        /// 单据状态
        /// </summary>
        public string State { get; set; }
        /// <summary>
        /// 接待人员
        /// </summary>
        public string CarInWorker { get; set; }
        public string KiloMeter { get; set; }
        public string Fuel { get; set; }
        public string Brand { get; set; }
        public string Model { get; set; }
        public string Engine { get; set; }
        /// <summary>
        /// 支付方式
        /// </summary>
        public string PayType { get; set; }
        /// <summary>
        /// 单据备注
        /// </summary>
        public string Remark { get; set; }
        public string NextServiceKiloMeter { get; set; }
        public string NextServiceSuggest { get; set; }
        public string SaleStore { get; set; }
        /// <summary>
        /// 店名Id
        /// </summary>
        public string ShopId { get; set; }
        /// <summary>
        /// 系统用户
        /// </summary>
        public string AdminId { get; set; }
        public string CarBrand { get; set; }
        public string CarModel { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string StoreIOId { get; set; }
        /// <summary>
        /// 现金支付
        /// </summary>
        public decimal CashPay { get; set; }
        public decimal ValuePay { get; set; }
        /// <summary>
        /// 银行卡转账
        /// </summary>
        public decimal BankPay { get; set; }
        /// <summary>
        /// 公司银行卡Id
        /// </summary>
        public string BankAccountId { get; set; }
        /// <summary>
        /// 积分抵现金
        /// </summary>
        public decimal MarkPay { get; set; }
    }
}

